package teach.aistar.controller;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import teach.aistar.service.IUserService;


@Controller
@RequestMapping("/user")
public class UserController{

    @Autowired
    private IUserService userService;

        @GetMapping("/test01")
        @ResponseBody
        public String test01(String uname, Integer pwd){
            return "uname:"+uname+",pwd:"+pwd;
        }

}
